package com.zxx.javapattern.factory.demo1;

/**
 *
 */
public class Client {
    public static void main(String[] args) {
        try {
            SimpleFactory.factory("Washer");
            SimpleFactory.factory("Icebox");
            SimpleFactory.factory("AirCondition");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
